mm: zswap: delete unused acomp->is_sleepable
Subsystems (2)
Johannes Weiner
maintainerPATCH 1/1 mm: zswap: delete unused acomp->is_sleepable
This hasn't been used since 7d4c9629b74f ("mm: zswap: use object read/write APIs instead of object mapping APIs"). Drop it.
--- mm/zswap.c | 2 -- 1 file changed, 2 deletions(-)
mm/zswap.c +0 -2
@@ -141,7 +141,6 @@ struct crypto_acomp_ctx {struct crypto_wait wait;u8 *buffer;struct mutex mutex; -bool is_sleepable; };/*
@@ -781,7 +780,6 @@ static int zswap_cpu_comp_prepare(unsigned int cpu, struct hlist_node *node) acomp_ctx->buffer = buffer; acomp_ctx->acomp = acomp; - acomp_ctx->is_sleepable =acomp_is_async (acomp); acomp_ctx->req = req;mutex_unlock (&acomp_ctx->mutex);return 0 ;
Signature · 1 line
2.52.0
Quoted 4 lines · Johannes Weiner
This hasn't been used since
7d4c9629b74f("mm: zswap: use object read/write APIs instead of object mapping APIs"). Drop it.Signed-off-by Johannes Weiner <[email protected]>
Thanks.
Quoted 24 lines
--- mm/zswap.c | 2 -- 1 file changed, 2 deletions(-)mm/zswap.c +0
-2@@ -141,7 +141,6 @@ struct crypto_acomp_ctx {struct crypto_wait wait;u8 *buffer;struct mutex mutex; -bool is_sleepable; };/* @@ -781,7 +780,6 @@ static int zswap_cpu_comp_prepare(unsigned int cpu, struct hlist_node *node) acomp_ctx->buffer = buffer; acomp_ctx->acomp = acomp; - acomp_ctx->is_sleepable =acomp_is_async (acomp); acomp_ctx->req = req;mutex_unlock (&acomp_ctx->mutex);return 0 ;
Quoted 21 lines · Johannes Weiner
This hasn't been used since
7d4c9629b74f("mm: zswap: use object read/write APIs instead of object mapping APIs"). Drop it.Signed-off-by Johannes Weiner <[email protected]>--- mm/zswap.c | 2 -- 1 file changed, 2 deletions(-)mm/zswap.c +0
-1@@ -141,7 +141,6 @@ struct crypto_acomp_ctx {struct crypto_wait wait;u8 *buffer;struct mutex mutex; -bool is_sleepable; };/*
mm/zswap.c static int zswap_cpu_comp_prepare(unsigned int cpu, struct hlist_node *node) · line 785
Quoted 7 lines
mm/zswap.c +0
-1@@ -781,7 +780,6 @@ static int zswap_cpu_comp_prepare(unsigned int cpu, struct hlist_node *node) acomp_ctx->buffer = buffer; acomp_ctx->acomp = acomp; - acomp_ctx->is_sleepable =acomp_is_async (acomp); acomp_ctx->req = req;mutex_unlock (&acomp_ctx->mutex);return 0 ;
Quoted 6 lines · Johannes Weiner
This hasn't been used since
7d4c9629b74f("mm: zswap: use object read/write APIs instead of object mapping APIs"). Drop it.Signed-off-by Johannes Weiner <[email protected]>
--- mm/zswap.c | 2 -- 1 file changed, 2 deletions(-)
mm/zswap.c +0 -2
@@ -141,7 +141,6 @@ struct crypto_acomp_ctx {struct crypto_wait wait;u8 *buffer;struct mutex mutex; -bool is_sleepable; };/*
@@ -781,7 +780,6 @@ static int zswap_cpu_comp_prepare(unsigned int cpu, struct hlist_node *node) acomp_ctx->buffer = buffer; acomp_ctx->acomp = acomp; - acomp_ctx->is_sleepable =acomp_is_async (acomp); acomp_ctx->req = req;mutex_unlock (&acomp_ctx->mutex);return 0 ;
Signature · 1 line
2.52.0
Quoted 4 lines · Johannes Weiner
This hasn't been used since
7d4c9629b74f("mm: zswap: use object read/write APIs instead of object mapping APIs"). Drop it.Signed-off-by Johannes Weiner <[email protected]>
Quoted 27 lines
--- mm/zswap.c | 2 -- 1 file changed, 2 deletions(-)mm/zswap.c +0
-2@@ -141,7 +141,6 @@ struct crypto_acomp_ctx {struct crypto_wait wait;u8 *buffer;struct mutex mutex; -bool is_sleepable; };/* @@ -781,7 +780,6 @@ static int zswap_cpu_comp_prepare(unsigned int cpu, struct hlist_node *node) acomp_ctx->buffer = buffer; acomp_ctx->acomp = acomp; - acomp_ctx->is_sleepable =acomp_is_async (acomp); acomp_ctx->req = req;mutex_unlock (&acomp_ctx->mutex);return 0 ;Signature · 1 line
2.52.0
Quoted 5 lines · Johannes Weiner
This hasn't been used since
7d4c9629b74f("mm: zswap: use object read/write APIs instead of object mapping APIs"). Drop it.Signed-off-by Johannes Weiner <[email protected]>